// 个人中心
import layout from '@/views/layout.vue';
export const users = {
	path: 'users',
	name: 'users',
	component: layout,
	// redirect: '/index',
	meta: {
		title: '用户管理',
		icon: 'UserFilled',
	},
	show: true,
	role: 0,
	children: [
		{
			path: 'userlist',
			name: 'userlist',
			component: () => import('@/views/users/user.vue'),
			show: true,
			role: 0,
			meta: {
				title: '用户列表',
				icon: '',
			},
		},
		{
			path: 'feedback',
			name: 'feedback',
			component: () => import('@/views/users/feedback.vue'),
			show: true,
			role: 1,
			meta: {
				title: '用户反馈',
				icon: '',
			},
		},
		{
			path: 'feedbackdetails/:id',
			name: 'feedbackdetails',
			component: () => import('@/views/users/feedbackdetails.vue'),
			show: false,
			meta: {
				title: '用户反馈详情',
				icon: '',
			},
		},
		{
			path: 'userinfo',
			name: 'userinfo',
			component: () => import('@/views/users/userinfo.vue'),
			show: false,
			meta: {
				title: '个人中心',
				icon: '',
			},
		},
		{
			path: 'infopwd',
			name: 'infopwd',
			component: () => import('@/views/users/infopwd.vue'),
			show: false,
			meta: {
				title: '修改密码',
				icon: '',
			},
		},
		{
			path: 'appuserstatistics/:id',
			name: 'appuserstatistics',
			component: () => import('@/views/users/appuserstatistics.vue'),
			show: false,
			meta: {
				title: 'app用户数据统计',
				icon: '',
			},
		},
	],
};
